﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DecoratorPattern
{
    /// <summary>
    /// 装饰器基类
    /// </summary>
    public abstract class BaseDecorator
    {

        public BaseDecorator()
        {
        }


        protected BaseDecorator _baseDecorator;

        public BaseDecorator(BaseDecorator baseDecorator) {
            _baseDecorator = baseDecorator;
        }



        /// <summary>
        /// 执行动作
        /// </summary>
        public abstract void Action();

    }
}
